home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Dev / gcc263-src.lha / gcc-2.6.3 / config / sparc / lynx-ng.h < prev    next >
C/C++ Source or Header  |  1994-07-11  |  1KB  |  41 lines

  1. /* Definitions for SPARC running LynxOS, using Lynx's old as and ld.
  2.    Copyright (C) 1993 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU CC.
  5.  
  6. GNU CC is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. GNU CC is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU CC; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. #include "sparc/sparc.h"
  21. #include "lynx-ng.h"
  22.  
  23. /* ??? Must redefine to get sparclite and v8 defines.  Can this be done
  24.    differently?  */
  25.  
  26. #undef CPP_SPEC
  27. #define CPP_SPEC "%{mthreads:-D_MULTITHREADED}  \
  28.   %{mposix:-D_POSIX_SOURCE}  \
  29.   %{msystem-v:-I/usr/include_v}  \
  30.   %{msparclite:-D__sparclite__} %{mv8:-D__sparc_v8__}"
  31.  
  32. /* Names to predefine in the preprocessor for this target machine.  */
  33.  
  34. #undef CPP_PREDEFINES
  35. #define CPP_PREDEFINES "-Dunix -Dsparc -DLynx -DIBITS32 -Asystem(unix) -Asystem(lynx) -Acpu(sparc) -Amachine(sparc)"
  36.  
  37. /* Provide required defaults for linker switches.  */
  38.  
  39. #undef LINK_SPEC
  40. #define LINK_SPEC "-e __main -T 0 %{msystem-v:-V} %{mcoff:-k}"
  41.